package com.gxa.modules.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.Date;
/** 
 * @team mackie Studio 
 * @Author kk 
 * @Date 2023-03-17 20:15:21 
 */
@Entity
@Data
@TableName("crm_after_sales" )
public class CrmAfterSales  implements Serializable {

	private static final long serialVersionUID =  8082813740197303092L;

	/**
	 * 售后主键
	 */
   	@TableField("after_sale_id" )
	private Long afterSaleId;

	/**
	 * 客户主键id(逻辑外键)
	 */
   	@TableField("customer_id" )
	private Long customerId;

	/**
	 * 反馈主题
	 */
   	@TableField("feedback_topic" )
	private String feedbackTopic;

	/**
	 * 售后分类
	 */
   	@TableField("after_sales_classify" )
	private String afterSalesClassify;

	/**
	 * 联系人主键id(逻辑外键)
	 */
   	@TableField("contacts_id" )
	private Long contactsId;

	/**
	 * 反馈时间
	 */
   	@TableField("feedback_time" )
	private Date feedbackTime;

	/**
	 * 备注
	 */
   	@TableField("remarks" )
	private String remarks;

	/**
	 * 售后状态
	 */
   	@TableField("after_sales_status" )
	private Long afterSalesStatus;

	/**
	 * 处理时间
	 */
   	@TableField("handling_time" )
	private Date handlingTime;

	/**
	 * 处理结果
	 */
   	@TableField("handling_result" )
	private String handlingResult;

	/**
	 * 员工主键id(逻辑外键)
	 */
   	@TableField("employee_id" )
	private Long employeeId;

	/**
	 * 商品id(逻辑外键)
	 */
   	@TableField("goods_id" )
	private Long goodsId;

	/**
	 * 删除(0表示未删，1表示删除)
	 */
   	@TableField("delet" )
	private Integer delet;

	/**
	 * 删除描述
	 */
   	@TableField("delete_description" )
	private String deleteDescription;
}
